package com.cellulam.auth.service;

import com.cellulam.auth.filters.LoginAuthFilter;
import com.cellulam.framework.core.auth.UserBasicInfo;
import com.cellulam.framework.core.auth.UserClient;
import com.cellulam.framework.core.rest.RestClient;

public abstract class BaseAuthUserClient implements UserClient {

    @Override
    public UserBasicInfo getUser() {
        return LoginAuthFilter.getContext(LoginAuthFilter.HEADER_ACCESS_TOKEN);
    }
}
